import config from "@/config";
import http from "@/utils/request";
export default {
	info: {
		url: `${config.API_URL}/device/system/info`,
		name: "服务器信息",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
    rate: {
		url: `${config.API_URL}/device/system/config`,
		name: "硬件使用比例",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
}